// 分页组件
import Pagination from './system/Pagination'
// 字典标签组件
import DictTag from './system/DictTag'
// 自定义表格工具组件
import RightToolbar from './system/RightToolbar'

// 文件上传组件
import FileUpload from './FileUpload'
// 图片上传组件
import ImageUpload from './ImageUpload'
// 图片预览组件
import ImagePreview from './ImagePreview'
// 图片列别预览组件
import ImageListPreview from './ImageListPreview'
// svg图标
import SvgIcon from './SvgIcon'

// 自定义封装的列表
import ListPage from './system/ListPage'
import ListSearch from './system/ListSearch'

// 全局组件挂载
export default function installPlugins(app) {
  app.component('DictTag', DictTag)
  app.component('Pagination', Pagination)
  app.component('FileUpload', FileUpload)
  app.component('ImageUpload', ImageUpload)
  app.component('ImagePreview', ImagePreview)
  app.component('ImageListPreview', ImageListPreview)
  app.component('RightToolbar', RightToolbar)
  app.component('SvgIcon', SvgIcon)
  app.component('ListPage', ListPage)
  app.component('ListSearch', ListSearch)
}
